/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2024-03-02
 * Time: 16:30
 */
public class Test {
    public static void main(String[] args) {
        Solution solution=new Solution();
        int[] array={1,2,3,1,2,3};
        System.out.println(solution.containsNearbyDuplicate(array,2));
    }
}
